From 6a3c75afd6b2285756dd9f9ee2aad6072656e242 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 16 Sep 2008 20:18:26 +0000 Subject: [PATCH] Garmin compilation fix. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3495 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/garmin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/garmin.c b/gpsbabel/garmin.c index 98269fd7f..9a8eb7389 100644 --- a/gpsbabel/garmin.c +++ b/gpsbabel/garmin.c @@ -47,6 +47,7 @@ static char *deficon = NULL; static char *category = NULL; static char *categorybitsopt = NULL; static int categorybits; +static int receiver_must_upper = 1; static ff_vecs_t *gpx_vec; @@ -971,7 +972,7 @@ route_waypt_pr(const waypoint *wpt) for (s = wpt->shortname; *s; s++) { int c = *s; if (receiver_must_upper && isalpha(c)) c = toupper(c); - if (strchr(valid_waypt_char, c)) { + if (strchr(valid_waypt_chars, c)) { *d++ = c; } } -- 2.30.2